import Vue from 'vue'
import Router from 'vue-router'
// import Hello from '@/components/Hello'
import Admin from '@/components/Admin'
import Article from '@/components/Article'
import Douban from '@/components/Douban'
import MyEdit from '@/components/MyEdit'
import UploadImg from '@/components/UploadImg'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Admin',
      component: Admin
    },
    // {
    //   path: '/hello',
    //   name: 'Hello',
    //   component: Hello
    // }
    {
      path: '/article',
      name: 'Article',
      component: Article
    },
    {
      path: '/douban',
      name: 'Douban',
      component: Douban
    },
    {
      path: '/myedit',
      name: 'MyEdit',
      component: MyEdit
    },
    {
      path: '/uploadImg',
      name: 'UploadImg',
      component: UploadImg
    }
  ]
})
